package com.project.service.Impl;

import com.project.mapper.AdminMapper;
import com.project.pojo.Admin;
import com.project.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    AdminMapper adminMapper;

    /**
     * 通过name查询审核员信息
     * @param name
     * @return
     */
    @Override
    public Admin getAdminByName(String name) {
        return adminMapper.getAdminByName(name);
    }
}
